#ifndef __INDEXED_BUFFER_HPP__
#define __INDEXED_BUFFER_HPP__

template <class T>
class IndexedBuffer
{
public:
	IndexedBuffer();
	~IndexedBuffer();

	T*   m_pBufferElements;
	int  m_iSize;
};

template <class T>
IndexedBuffer<T>::IndexedBuffer()
{
	m_pBufferElements = NULL;
	m_iSize = 0;
}

template <class T>
IndexedBuffer<T>::~IndexedBuffer()
{
	delete[] m_pBufferElements; m_pBufferElements = NULL;
}

#endif //__INDEXED_BUFFER_HPP__

//EOF
